package com.marvin.core;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yinyin
 * @create 2021/11/14 下午 3:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("kss_user")
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private  Integer id;
    private  String nickname;
    private  String password;
    private  String telephone;
    private  String email;
    private  String avatar;
    private  String sign;
    private  Date createTime;
    private  Date updateTime;
    private  Integer active;
    private  String role;
}
